<{foreach from=$cat item=list}>
<li catid="<{$list.catid}>"><{$list.cat}></li>
<{/foreach}>